package com.zhangtai.modules.dto;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


@Data
public class ScoreRaterDto implements Serializable {
	private static final long serialVersionUID = 1L;

			/**
		 * 评分id
		 */
				@TableId
		@JsonDeserialize(using = LongJsonDeserializer.class)
		@JsonSerialize(using = LongJsonSerializer.class)
			private Long id;
			/**
		 * 360评分id
		 */
			@JsonDeserialize(using = LongJsonDeserializer.class)
			@JsonSerialize(using = LongJsonSerializer.class)
			private Long scoreId;
			/**
		 * 评分人员工id
		 */
			@JsonDeserialize(using = LongJsonDeserializer.class)
			@JsonSerialize(using = LongJsonSerializer.class)
			private Long oid;
			/**
		 * 评分人员工姓名
		 */
			private String name;
			/**
		 * 状态 0 进行中  1 成功 
		 */
			private Integer status;
			/**
		 * 评分关系   0 上级  1 同级 2 下级  3 自评 
		 */
			private Integer type;
			/**
		 * 评分
		 */
			private BigDecimal raterScore;
			/**
		 * 创建时间
		 */
			private Date createTime;
			/**
		 * 评分时间
		 */
			private Date scoreTime;
	/**
	 * 评分类型   方案id
	 */
	@JsonDeserialize(using = LongJsonDeserializer.class)
	@JsonSerialize(using = LongJsonSerializer.class)
	private Long programId;

	/**
	 * 方案名称
	 */
	private String programName;

	/**
	 * 被评分人公司id
	 */
	@JsonDeserialize(using = LongJsonDeserializer.class)
	@JsonSerialize(using = LongJsonSerializer.class)
	private Long orgId;
	private String orgName;
	/**
	 * 被评分人部门id
	 */
	@JsonDeserialize(using = LongJsonDeserializer.class)
	@JsonSerialize(using = LongJsonSerializer.class)
	private Long unitId;
	private String unitName;
	/**
	 * 被评分人职位id
	 */
	@JsonDeserialize(using = LongJsonDeserializer.class)
	@JsonSerialize(using = LongJsonSerializer.class)
	private Long jobId;
	private String jobName;


	
}
